package com.wyl.condition.query;

import com.wyl.enumeration.ConditionValueOperatorEnum;

import java.util.List;

/**
 * @author 吴宇亮 on 2023/4/21 9:13
 */
public class ConditionValue implements Condition {

    private String key;

    private ConditionValueOperatorEnum operator;

    private List<String> value;

    public String getKey() {
        return key;
    }

    public ConditionValue setKey(String key) {
        this.key = key;
        return this;
    }

    public ConditionValueOperatorEnum getOperator() {
        return operator;
    }

    public ConditionValue setOperator(ConditionValueOperatorEnum operator) {
        this.operator = operator;
        return this;
    }

    public List<String> getValue() {
        return value;
    }

    public ConditionValue setValue(List<String> value) {
        this.value = value;
        return this;
    }
}
